Techniques to control self refresh display functionality

ABSTRACT

Techniques are described to monitor a level of graphics processing activity and control power usage based on the level. When no graphics processing activity is detected for a period of time, then a timing controller for a display device is instructed to capture a current image and repeatedly display the captured image. The graphics processing devices can be powered down. When graphics processing activity is detected, the graphics processing devices are powered up and the components used to capture an image and display the captured image are powered down.

RELATED APPLICATIONS

This application is Continuation of U.S. patent application Ser. No. 13/625,185, entitled “TECHNIQUES TO CONTROL OF SELF REFRESH DISPLAY FUNCTIONALITY, which was filed Sep. 24, 2012, which is a Continuation of U.S. patent application Ser. No. 12/313,257, entitled “TECHNIQUES TO CONTROL SELF REFRESH DISPLAY FUNCTIONALITY,” filed on Nov. 18, 2008, now patented as U.S. Pat. No. 8,274,501, issued on Sep. 25, 2012.

FIELD

The subject matter disclosed herein relates generally to techniques for regulating power consumption.

RELATED ART

Multimedia operations in computer systems are very common. For example, personal computers are often used to process and display video. Power consumption by computers is a concern. It is desirable to regulate power consumption by personal computers.

BRIEF DESCRIPTION OF THE DRAWINGS

Embodiments of the present invention are illustrated by way of example, and not by way of limitation, in the drawings and in which like reference numerals refer to similar elements.

FIG. 1A depicts a system in accordance with an embodiment.

FIG. 1B depicts an example of components of host system whose power consumption can be controlled, in accordance with an embodiment.

FIG. 1C depicts a high level block diagram of a timing controller for a display device in accordance with an embodiment.

FIG. 2 depicts a block diagram of power management logic in accordance with an embodiment of the present invention.

FIG. 3 depicts a flow diagram of a process involved in the detection and decision process of whether to invoke a display self-refresh mode.

FIG. 4 depicts a state diagram of modes of operation of a display in accordance with an embodiment.

FIG. 5 depicts an example of operations in accordance with an embodiment.

DETAILED DESCRIPTION

Reference throughout this specification to “one embodiment” or “an embodiment” means that a particular feature, structure, of characteristic described in connection with the embodiment is included in at least one embodiment of the present invention. Thus, the appearances of the phrase “in one embodiment” or “an embodiment” in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in one of more embodiments.

FIG. 1A depicts a system 100 in accordance with an embodiment. System 100 may include a source device such as a host system 102 and a target device 150. Host system 102 may include a processor 110 with multiple cores, host memory 112, storage 114, and graphics subsystem 115. Chipset 105 may communicatively couple devices in host system 102. Graphics subsystem 115 may process video and audio.

In accordance with various embodiments, processor 110 may execute a driver (not depicted) that determines whether to (1) instruct target device 150 to capture an image and repeatedly display the captured image, (2) power down components of graphics subsystem 115, and (3) power down components of target device 150. The driver may determine whether to initiate actions (1), (2), or (3) based at least on: a change in the system timer period, triangle or polygon rendering, any processor core is not in low power mode, any mouse activity, vertical blanking interrupts are used, and overlay is enabled. For example, powering down components may involve reducing voltage regulators to the lowest operating voltage level. For example, when the processor 110 executes a Microsoft Windows compatible operating system, the driver may be a kernel mode driver.

For example, host system 102 may transmit commands to capture an image and power down components to target device 150 using extension packets transmitted using interface 145. Interface 145 may include a Main Link and an AUX channel, both described in Video Electronics Standards Association (VESA) DisplayPort Standard, Version 1, Revision 1a (2008). In various embodiments, host system 102 (e.g., graphics subsystem 115) may form and transmit communications to target device 150 at least in a manner described with respect to co-pending. U.S. patent application Ser. No. 12/286,192, entitled “Protocol Extensions in a Display Port Compatible Interface,” inventors Kwa et al., filed Sep. 29, 2008.

Target device 150 may be a display device with capabilities to display visual content and broadcast audio content. For example, target device 150 may include control logic such as a timing controller (TCON) that controls writing of pixels as well as a register that directs operation of target device 150.

FIG. 1B depicts an example of components of host system 102 whose power consumption can be controlled, in accordance with an embodiment. The components can be in chipset, processor, or graphics subsystem. For example, the display phase lock loop (PLL) 160, display plane 162, display pipe 164, and display interface 164 of host 102 can be powered down or up. PLL 160 may be a system clock for the display plane 162, display pipe 164, and display interface 166. For example, display plane 162 may include a data buffer and RGB color mapper, which transforms data from buffer to RGB. Display plane 162 may include an associated memory controller and memory IO (riot depicted) that could also be power managed. Pipe 164 may include a blender of multiple layers of images into a composite image, X, Y coordinate rasterizer, and interface protocol packetizer. The interface protocol packetizer may be compliant at least with Display Port or Low-voltage differential signaling (LVDS), available from ANSI/TIA/EIA-644-A (2001). Display interface 166 may include a DisplayPort or LVDS compatible interface and a parallel-in-serial-out (PISO) interface.

FIG. 1C depicts a high level block diagram of a timing controller for a display device in accordance with an embodiment. Timing controller 180 has the capability to respond to instructions from a host device to enter a self refresh mode that may include powering down components and/or capturing an image and repeatedly outputting the captured image to a display. In response to signal SRD_ON from a host, SRD control block activates the frame buffer to capture a frame and the SRD control block controls the multiplexer (MUX) to transfer the captured frame to the output port. After the frame buffer captures a frame, the SRD control block activates signal SRD_Status to inform the host that the capture has taken place and that the timing controller displays a captured image. After the signal SRD_ON is deactivated. SRD control block deactivates the frame buffer and associated logic and causes the MUX to transfer incoming video from the input port (LVDS RX in this case) to the output port (LVDS TX). Timing controller 180 may use less power because the frame buffer is turned off and the logic clock gated When the self refresh display mode is exited. In various embodiments, SRD_ON and SRD_STATUS can be signals or configured in a register.

FIG. 2 depicts a block diagram of power management logic 200 in accordance with an embodiment of the present invention. Power management logic 200 may determine whether to power down components and cause a display device to capture a still image and repeatedly display the captured still image based on inputs of a system timer change, overlay mode, whether vertical blanking interrupts are used, graphics activity, and mouse activity. Power management logic 200 may be a driver executed by a processor.

Feature control block 202 determines whether to disable power management logic 200. Kernel timer block 204 provides a periodic polling timer for monitoring conditions. For example, the polling period can be 10 or 15.6 milliseconds, although other polling periods can be used.

System timer change block 206 indicates whether the system timer period has changed. A number of applications, typically multimedia applications, e.g. Windows Media Player, change the system timer to 1 millisecond when multimedia operations are taking place.

Overlay handling block 208 indicates whether overlay usage of by Microsoft XP is active.

Vertical blank interrupt (VBI) block 210 indicates whether VBIs are used. Applications such as Media Players sometimes make use of APIs that report VBI in order to coordinate media playback for the smoothest possible playback on monitor device. Moreover, the Windows Vista Desktop Composition Engine (DCE) utilizes VBI notification in timing its updates to the display.

Graphics (GFX) activity block 212 indicates Whether a graphics engine renders any triangle or polygon.

Mouse activity block 214 indicates whether mouse movement of button use has taken place. Mouse movement or button use indicates a rendering of displayed image is to take place. Mouse activity and graphics activity may be fed into message engine 222 to generate higher priority messages in the event mouse activity and graphics activity activities are detected.

Although not depicted, evaluator block 220 may also consider whether all processor cores of the host are at a low power state. An Intel processor core is a state such as C2 or higher may he considered in a low power state.

If none of the indicators from blocks 206-214 indicate activity for a threshold period of time, then evaluator block 220 may request powering down of a graphics engine, capturing of an image, and the display to repeatedly display a captured image. If any of blocks 206-214 indicates activity, then evaluator block 220 may request powering up of a graphics engine and the display to display input images.

In one embodiment, message engine 222 may transmit instructions from evaluator block 220 using extension packets by writing to a register of the display device. For example, the register can be written using an extension packet of the format described with regard to U.S. patent application Ser. No. 12/286,192, entitled “Protocol Extensions in a Display Port Compatible Interface,” inventors Kwa et al., filed Sep. 29, 2008.

FIG. 3 depicts a flow diagram of a process involved in the detection and decision process to power consumption and image display. Block 301 may include determining whether any graphics related activity is detected. A graphics related activity may include any of: overlay handling is used, an operating system currently uses VBI, any graphics processing is taking place, mouse or cursor movement has taken place has taken place, and any processor core is not in a low power state. An Intel processor core in a state such as C2 or higher may be considered in a low power state.

Block 302 may include incrementing a counter if no activity is detected in block 301. Block 303, however, may reset a counter if any activity is detected in block 301. The counter counts a number of system timer periods in which no graphics related activity is detected.

Block 304 may include determining if the counter is reset. If the counter is reset, then block 305 may determine whether the state of the display is ON (e.g., self refresh display mode) or Capture (e.g., capturing an image for display in self refresh display mode). If the state is ON or Capture, then block 306 disables self refresh display mode by setting the state to OFF (e.g., not in self refresh display mode).

If graphics engine (GFX) is determined to be disabled in block 307, then block 308 enables GFX. The components of the graphics engine that are enabled may include those described with regard to FIG. 1B.

If block 304 determines the counter is not reset, block 310 determines whether the state is ON. If the state is not ON, then block 311 follows block 310. If the state is ON, then block 320 follows block 310.

Block 311 may include determining Whether the counter meets or exceeds a threshold number. The counter counts a number of system timer periods in which no activity is detected. If the number of system timer periods in which no activity is detected exceeds a threshold, then block 320 may follow block 311. If the number of system timer periods in which no activity is detected does not exceed a threshold, then process 300 may end. Process 300 may restart at the next system timer period following the ending of process 300.

Block 320 may include determining whether the state is OFF. If block 320 determines the state is OFF, then block 340 may set the state to Capture.

If block 320 determines the state of the display is not OFF, then block 330 may determine whether the counter meets a second threshold. The second threshold is a sufficient number of system timer periods have passed so that the frame buffer has had a sufficient period of time to capture an image in response to a prior request to change a state to Capture. If the count is not equal to the second threshold, process 300 ends. If the count equals the second threshold, block 331 sets the state to ON and disables the graphics engine. The components of the graphics engine that are disabled may include those described with regard to FIG. 1B.

FIG. 4 depicts a state diagram of modes of operation of a display in accordance with an embodiment. In this example, variable SRD_ON may represent an indication of readiness to enter self refresh mode whereas variable SRD_Status may represent that display of the same captured image (i.e., self refresh mode) is on-going.

State OFF refers to a mode in which the graphics processor and display device operate as normal in order to handle graphics processing activity. In state OFF, variables SRD_ON and SRD_Status are set to 0. If none of the following conditions occur for a threshold period of time, then variable SRD_ON is set to 1 but SRD_Status remains at 0 and an image capture state (state Capture) is entered: a change in the system timer period, graphics processor activity (e.g., triangle or polygon rendering), VBI is used, overlay is enabled, any mouse activity, and any processor core is not in low power mode.

State Capture is a state in which a frame buffer of a timing controller captures an image. After a period of time to capture an image, then variable SRD_ON remains at 1 but SRD_Status is set to 1 and state ON is entered.

State ON is a self refresh display mode state in which components are powered off and a captured image displays repeatedly. If any of the above conditions is met, then variables SRD_ON and SRD_Status are set to 0 and state OFF follows state ON. During the transition from state ON to state OFF, the frame butler of the timing controller is updated with the incoming frame data and the display panel displays the image from the remote frame buffer. State OFF allows pass through of a current frame for display.

The following describes a more detailed operation of the host of FIGS. 1A and 1B and the timing controller of FIG. 1C with regard to variables SRD_ON and SRD_Status. When SRD_ON is set to logical 1, the following activities may take place in timing controller 180 of FIG. 1C: (1) the frame buffer logic and associated clocks and components are activated; (2) the activated frame buffer may capture a full frame; (3) the SRD control logic, switches the MUX from bypass mode to repeat mode so that the self refresh logic drives the output port to display panel with a static frame data from the frame buffer; and (4) SRD_Status is set to logical 1 to indicate self refresh mode is on-going.

When SRD_Status is set to logical 1, software turns off the display pipe, display engine, ports, display interface, and PLL of the host (FIGS. 1A and 1B). In addition, the self refresh logic of timing controller 180 (FIG. 1C) drives the output port (e.g., LVDS or DisplayPort) to continuously display a static frame data from the local frame buffer.

For the transition between state ON and OFF, software/driver may cause the host (e.g., CPU or PCH) to set SRD_Status and SRD_ON to 0. In addition, the frame buffer of the timing controller 180 (FIG. 1C) stores every updated frame and the self-refresh logic drives the output port with updated frames from the frame buffer. After timing synchronization is acquired between input and output ports, the timing controller 180 outputs frames received from the receive port (e.g., LVDS RX) and disables the frame buffer and associated clocks and internal timing generator. SRD_Status is then set to 0 to indicate the display of current input video frames.

The following table summarizes the operation of the timing controller for variables SRD_ON and SRD_Status.

MUX Mode SRD_ON SRD_Status State Bypass 0 0 Panel displays the current incoming frame data. Bypass 1 0 The self refresh logic is acquiring a new full frame. The display panel displaying the current incoming live frame data. Self 1 1 The display panel displays a static Refresh image from the frame buffer. The Mode incoming display data can be turned OFF. Self 0 1 The frame buffer is continuously Refresh been updated with the incoming Mode frame data. The display panel displays the image from the frame buffer.

FIG. 5 depicts an example of operations in accordance with an embodiment. Each system timer period, the driver determines whether various components are idle. At 501, the driver determines that a threshold number of system time periods have passed in which the relevant system is in the idle state and the system transitions to the Capture mode. At 502, the driver determines that a period of time for a frame buffer to capture an image has passed and the system enters the ON mode. At 503, the driver identifies that the system is active and causes the system to enter the OFF mode.

The graphics and/or video processing techniques described herein may be implemented in various hardware architectures. For example, graphics and/or video functionality may be integrated within a chipset. Alternatively, a discrete graphics and/or video processor may be used. As still another embodiment, the graphics and/or video functions may be implemented by a general purpose processor, including a multicore processor. In a further embodiment, the functions may be implemented in a consumer electronics device.

Embodiments of the present invention may be provided, for example, as a computer program product Which may include one or more machine-readable media having stored thereon machine-executable instructions that, when executed by one or more machines such as a computer, network of computers, or other electronic devices, may result in the one or more machines carrying out operations in accordance with embodiments of the present invention. A machine-readable medium may include, but is not limited to, floppy diskettes, optical disks, CD-ROMs (Compact Disc-Read Only Memories), and magneto-optical disks, ROMs (Read Only Memories), RAMs (Random Access Memories), EPROMs (Erasable Programmable Read Only Memories), EEPROMs (Electrically Erasable Programmable Read Only Memories), magnetic or optical cards, flash memory, or other type of media/machine-readable medium suitable for storing machine-executable instructions.

The drawings and the forgoing description gave examples of the present invention. Although depicted as a number of disparate functional items, those skilled in the art will appreciate that one or more of such elements may well be combined into single functional elements. Alternatively, certain elements may be split into multiple functional elements. Elements from one embodiment may be added to another embodiment. For example, orders of processes described herein may be changed and are not limited to the manner described herein. Moreover, the actions of any flow diagram need not be implemented in the order shown; nor do all of the acts necessarily need to be performed. Also, those acts that are not dependent on other acts may be performed in parallel with the other acts. The scope of the present invention, however, is by no means limited by these specific examples. Numerous variations, whether explicitly given in the specification or not, such as differences in structure, dimension, and use of material, are possible. The scope of the invention is at least as broad as given by the following claims. 

What is claimed is:
 1. A system comprising: a display; a frame buffer; a link input port to receive images; a controller to: receive a request to enter a self refresh display state; in response to the request to enter self refresh display state: cause enablement of the frame buffer, cause capture of an image in the frame buffer, cause multiple displays of the captured image from the frame buffer, the multiple displays comprising multiple displays of the image stored one time in the frame buffer; receive a request to exit self refresh display state; and in response to the request to exit self refresh display state: permit display of images from the link input port and cause disablement of the frame buffer.
 2. The system of claim 1, wherein the controller is to receive the request to enter self refresh display state in a DisplayPort compatible packet.
 3. The system of claim 1, wherein the controller is to receive the request to enter self refresh display state in a DisplayPort compatible extension packet.
 4. The system of claim 1, wherein: in response to the request to exit self refresh state, the controller is to disable a clock and a timing, generator associated with the frame buffer.
 5. The system of claim 1, wherein: in response to the request to exit self refresh display state, the controller is to permit display of images from the frame buffer until acquisition of timing synchronization.
 6. The system of claim 1, wherein disablement of the frame buffer comprises turning off or deactivation of the frame buffer.
 7. A method comprising: receiving images for display at a link input; receiving a request to enter a self refresh display state; in response to the request to enter self refresh display state: causing enablement of a frame buffer, causing capture of an image in the frame buffer, causing multiple displays of the captured image from the frame buffer, the multiple displays comprising multiple displays of the image stored one time in the frame buffer; receiving a request to exit self refresh display state; in response to the request to exit self refresh display state: permitting display of images from the link input and causing disablement of the frame buffer.
 8. The method of claim 7, wherein the receiving a request to enter a self refresh display state comprises receiving a request to enter a self refresh display state using a DisplayPort compatible packet.
 9. The method of claim 7, wherein the receiving a request to enter a self refresh display state comprises receiving a request to enter a self refresh display state using a DisplayPort compatible extension packet.
 10. The method of claim 7, further comprising: in response to the request to exit self refresh state, disabling a clock and a timing generator associated with the frame buffer.
 11. The method of claim 7, further comprising: in response to the request to exit self refresh display state, permitting display of images from the frame buffer until acquisition of timing synchronization.
 12. The method of claim 7, wherein disablement of the frame buffer comprises turning off or deactivation of the frame buffer.
 13. An apparatus comprising: a controller to: receive a request to enter a self refresh display state; in response to the request to enter self refresh display state: cause enablement of a frame buffer, cause capture of an image in the frame buffer, cause multiple displays of the captured image from the frame buffer, the multiple displays comprising multiple displays of the image stored one time in the frame buffer; receive a request to exit self refresh display state; and in response to the request to exit self refresh display state: permit display of images from a link input port and cause disablement of the frame buffer.
 14. The apparatus of claim 13, Wherein the controller is to receive the request to enter self refresh display state in a DisplayPort compatible packet.
 15. The apparatus of claim 13, wherein the controller is to receive the request to enter self refresh display state in a DisplayPort compatible extension packet.
 16. The apparatus of claim 13, wherein: in response to the request to exit self refresh state, the controller is to disable a clock and a timing generator associated with the frame buffer.
 17. The apparatus of claim 13, wherein: in response to the request to exit self refresh display state, the controller is to permit display of images from the frame buffer until acquisition of timing synchronization.
 18. The apparatus of claim 13, wherein disablement of the frame buffer comprises turning off or deactivation of the frame buffer.
 19. At least one computer readable medium comprising instructions stored thereon, which when executed by a computer, cause the computer to: receive a request to enter a self refresh display state; in response to the request to enter self refresh display state: cause enablement of a frame buffer, cause capture of an image in the frame buffer, cause multiple displays of the captured image from the frame buffer, the multiple displays comprising multiple displays of the image stored one time in the frame buffer; receive a request to exit self refresh display state; and in response to the request to exit self refresh display state: permit display of images from a link input port and cause disablement of the frame buffer.
 20. The medium of claim 19, further comprising instructions stored thereon, which cause the computer to: in response to the request to exit self refresh state, disable a clock and a timing generator associated with the frame buffer.
 21. The medium of claim 19, further comprising instructions stored thereon, which cause the computer to: in response to the request to exit self refresh display state, permit display of images from the frame buffer until acquisition of timing synchronization.
 22. The medium of claim 19, wherein disablement of the frame buffer comprises turning off or deactivation of the frame buffer. 